home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / psfontmgr.prerm < prev    next >
Text File  |  2008-07-22  |  326b  |  22 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. FILE='/etc/defoma/hints/defoma-ps.hints'
  6. CONF='/etc/defoma/config/psfontmgr.conf'
  7.  
  8. if [ "$1" = remove ]; then
  9.   if [ -f $FILE ]; then
  10.     /usr/bin/defoma-font -t purge-all $FILE
  11.   fi
  12.   
  13.   /usr/bin/defoma-app -t purge psfontmgr
  14. fi
  15.  
  16. if [ "$1" = upgrade ]; then
  17.   /usr/bin/defoma-app -t clean psfontmgr
  18. fi
  19.  
  20.  
  21.  
  22.